package com.zhaiweijia.service;

import com.github.pagehelper.PageInfo;
import com.zhaiweijia.entity.Dam;
import com.zhaiweijia.entity.DamType;

public interface DamService {

	DamType getTidByTname(String tname);

	void add(Dam dam);

	PageInfo findAll(Integer pageNum,Integer pageSize, Integer avgRain, Integer timeOfRain);
	
}
